package com.adl.hotelmanage.dao;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

import com.adl.hotelmanage.util.DbUtil;
public class DbInsert {
	public static PreparedStatement insert(String sql)
	{
		Connection conn = DbUtil.getSQLConn();
		PreparedStatement ps = null;
		try {
			ps = conn.prepareStatement(sql);
		}catch (SQLException e) {
			e.printStackTrace();
		} 
		return ps;
	}

}
